from mbserver import settings

class Server:

    index = 0

    def get(self):
        server =  settings.SERVERS[Server.index]
        Server.index += 1
        
        if Server.index >= settings.SERVERS.__len__():
            Server.index = 0

        return server
